NAT Gateway

aws/networking aws/vpc

💡 Definition

A NAT (Network Address Translation) Gateway is a highly available, managed service that allows instances in a private Subnet to connect to the internet (e.g., for software updates) but prevents the internet from initiating connections with those instances.

🔑 Key Concepts

⚙️ How it Works

  1. Deploy: Create a NAT Gateway in a public subnet.
  2. Route: Update the private subnet's route table to point internet traffic (0.0.0.0/0) to the NAT Gateway ID.
  3. Flow: Private instance -> NAT Gateway (Public Subnet) -> Internet Gateway -> Internet.

🎯 Use Cases

💰 Pricing Model

📝 Exam Tips (CLF-C02)


See Also: * Internet Gateway * VPC * Subnet